import { Image } from 'antd';
interface WidgetImgProps {
    src: string ,
    width: number,
    height: number
}
const WidgetImg = (props: WidgetImgProps) => {
    return (
        <Image
            width={props.width}
            height={props.height}
            src={props.src}
            fallback=""
        />
    )
}
WidgetImg.defaultProps = {
    width: 40,
    height: 40
}
export default WidgetImg;
export type {WidgetImgProps};